(function() {
var fOldEvent = document.onclick;
document.onclick = function(oEvent)
{
	if (fOldEvent)
	{
		fOldEvent(oEvent);
	}
	alert("other document click event.");
}
})();